<template>
  <div class="root_style">
    <reception-header/>
  </div>
</template>

<script>
import ReceptionHeader from '../../components/ReceptionHeader.vue';
import { getCompanyList } from '../../api/enterpriseManage/index';
export default {
  name: "IndexPage",
  components: {ReceptionHeader},
  created(){
    // 判断token是否过期
    this.checkToken();
  },
  methods:{
    checkToken(){
      var token = getStore("token");
      if (token === null || token === '') {
        this.$router.push("/reception/login");
        this.$message.info("请先登陆！");
      }
    },
  }
}
</script>

<style scoped>
.root_style{
  width: 100%;
  height: auto;
  background-color: #f8f8f8;
  border-radius: 4px;
}
.root_style::-webkit-scrollbar {
    display: none;
}
.music-content {
  flex: 1;
}
</style>